<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8" %>
<%
    String mainPage = (String) request.getAttribute("mainPage");
    if (mainPage == null || mainPage.equals("")) {
        mainPage = "common/default.jsp";
    }
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>在线考试系统主界面</title>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/examOnline.css"/>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/bootstrap/css/bootstrap.css"/>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/bootstrap/css/bootstrap-responsive.css"/>
    <script type="text/javascript" src="${pageContext.request.contextPath}/bootstrap/js/jQuery.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/bootstrap/js/bootstrap.js"></script>
</head>
<body>
<table width="1000px" align="center">
    <tr>
        <td>
            <jsp:include page="common/head.jsp"/>
        </td>
    </tr>
    <tr>
        <td>
            <jsp:include page="common/menu.jsp"/>
        </td>
    </tr>
    <tr>
        <td>
            <jsp:include page="<%=mainPage %>"/>
        </td>
    </tr>
    <tr>
        <td>
            <jsp:include page="common/foot.jsp"/>
        </td>
    </tr>
</table>
</body>
</html>
